﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Client;
using Microsoft.Xrm.Client.Services;
using CrmField.Plugins;
using System.Collections.Generic;

namespace CrmField.Tests.Plugins
{
    [TestClass]
    public class ServiceAppointmentManagerTest
    {
        [TestMethod]
        public void RetrieveUsersInServiceAppointment()
        {
            CrmConnection crmConnection = new CrmConnection("devCrmOnline");
            var service = new OrganizationService(crmConnection);

            List<Guid> users = ServiceAppointmentManager.RetrieveUsersInServiceAppointment(new Guid("11B06B34-C15D-E211-8B63-3C4A92DBDC51"), service);
        }
    }
}
